function createUUID() {
   return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
      var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
      return v.toString(16);
   });
}
function send_me_up(){
	let content = "hello world"+createUUID();
	let event = document.createEvent("Event")
	event.initEvent("input",true,true)
let lists = document.getElementsByClassName("bilibili-player-video-danmaku-input");
for (let elem of lists){try{elem.value=content;elem.dispatchEvent(event);
let buttons = document.getElementsByClassName("bilibili-player-video-btn-send");
	for (let btn of buttons){try{btn.click();}catch(e){console.log(e);}}
}catch(e){console.log(e)}}
setTimeout(()=>{send_me_up()},5500);
}
send_me_up()

//setInterval(send_me_up(),5000);
